package org.maggioni.springsandbox.model.draw.shapes;

import org.maggioni.springsandbox.model.decorators.LifeCycleAware;
import org.maggioni.springsandbox.model.draw.Point;

public class SinglePoint extends Shape implements LifeCycleAware {
	private Point pointA;
	
	public Point getPointA() {
		return pointA;
	}
	public void setPointA(Point pointA) {
		this.pointA = pointA;
	}
	
	@Override
	public void init() {
		System.out.println(this.getClass().getName()+" initialized.");
	}
	@Override
	public void dispose() {
		System.out.println(this.getClass().getName()+" disposed.");
	}
	
	@Override
	public String toString() {
		return "SinglePoint [pointA=" + pointA + "]";
	}
	
	
	
	
}
